package com.mming.sso.service;

import com.mming.sso.bean.UserInfo;
import com.mming.sso.entity.User;

public interface UserService {
    UserInfo getUserInfoByUsername(String username);

    boolean login(String username, String password, String IP);

    int register(User user);

    int banUser(String username);
}
